package com.example.oauth2demo.web;

import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Service;

/**
 * TODO
 *
 * @author karidyang
 * @since 1.0
 * Date: 2021-05-10
 **/
@Service
public class TestCacheService {

    @Cacheable("test")
    public String buildTestString() {
        System.out.println("1111111111");
        return "TEST-" + System.currentTimeMillis();
    }
}
